package com.yunxin.core.utils.infra.common.enums;

import com.yunxin.common.base.IBaseEnum;
import lombok.Getter;

/**
 * @author zero°
 * @since 2023-05-27
 */
@Getter
public enum EducationLevelEnum implements IBaseEnum<Integer> {

    /**
     * 教育程度 0.无要求 1.初中及以下 2.高中 3.中专 4.大专 5.本科 6.硕士 7.博士
     */
    NO_REQUIRED(0, "无要求",false),
    MIDDLE_SCHOOL(1, "初中及以下",false),
    HIGH_SCHOOL(2, "高中",false),
    POLYTECHNIC_SCHOOL(3, "中专",false),
    JUNIOR_COLLEGE(4, "大专",false),
    UNDERGRADUATE_COURSE(5, "本科",true),
    MASTER(6, "硕士",false),
    DR(7, "博士",false);

    private final Integer value;

    private final String label;
    private final Boolean excellent;

    EducationLevelEnum(Integer value, String label,Boolean excellent) {
        this.value = value;
        this.label = label;
        this.excellent = excellent;
    }
}
